/* 侧边栏样式 */
.sidebar {
    width: 280px;
    background: rgba(26, 32, 46, 0.95);
    backdrop-filter: blur(20px);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 191, 255, 0.3), transparent);
    animation: sidebarGlow 3s ease-in-out infinite;
}

@keyframes sidebarGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.brand {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00bfff 0%, #0080ff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 191, 255, 0.3);
}

.brand-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #00bfff 0%, #0080ff 100%);
    opacity: 0.7;
    filter: blur(12px);
    z-index: -1;
}

.brand-icon i {
    font-size: 24px;
    color: white;
}

.brand h1 {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #00bfff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transform: translateX(4px);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.2) 0%, rgba(0, 128, 255, 0.2) 100%);
    color: #00bfff;
    border: 1px solid rgba(0, 191, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 191, 255, 0.2);
}

.nav-item i {
    font-size: 18px;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.nav-item span {
    font-weight: 500;
}
